﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CusSatiSur/CusSatSurMaster.Master" AutoEventWireup="true" CodeBehind="CusSatiSurQuery.aspx.cs" Inherits="QuaManSys.CusSatiSur.CusSatiSurQuery" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="Stylesheet" href="../Css/QuaInfoPro.css" type="text/Css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
 <div>
        <div>
            <center>
                <asp:Label ID="outerQuery" runat="server" Text="客户满意度信息查询" Style="font-size: 20px"></asp:Label>
            </center>
        </div>
        <fieldset>
            <legend>请输入需要查询信息：</legend>
            <table class="QueryClass">
                <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="客户满意度信息编号：">
                    </asp:Label><asp:TextBox ID="TextBox1" runat="server" AutoPostBack="true"></asp:TextBox>
                </td>
                <td>
                        <asp:Label ID="Label2" for="lblImpLev" class="sixteen" runat="server">
                            顾客类别</asp:Label>
                        <asp:DropDownList ID="DDLImpLev" runat="server" CssClass="sixteen" 
                            AutoPostBack="True">
                            <asp:ListItem Text="----请选择----" Value="null"></asp:ListItem>
                            <asp:ListItem>船厂物资部</asp:ListItem>
                            <asp:ListItem>船厂设计部</asp:ListItem>
                            <asp:ListItem>船厂质量部&船东建造组</asp:ListItem>
                            <asp:ListItem>船厂生产部门</asp:ListItem>
                            <asp:ListItem>船东机务部门</asp:ListItem>
                            <asp:ListItem>所有顾客</asp:ListItem>
                        </asp:DropDownList>
                 </td>
                  
                </tr>
                <tr>
                <td>
                   <asp:Label ID="Label3" for="lblImpLev" class="sixteen" runat="server">
                            顾客名称</asp:Label>
                      <asp:TextBox ID="tbxCtmName" runat="server"></asp:TextBox>
                  </td>
                    <td>
                        <asp:Label ID="Label5" for="lblImpLev" class="sixteen" runat="server">
                            部门</asp:Label>
                            <asp:TextBox ID="tbxDept" runat="server"></asp:TextBox>
                    </td>   
                </tr>
                <tr>
                <td>
                    <asp:Button ID="btnTotalQuey" runat="server" Text="总表查询" 
                        onclick="btnTotalQuey_Click" />
                  </td>
                    <td>
                        <asp:Button ID="btnDeptQuery" runat="server" Text="部门查询" 
                            onclick="btnDeptQuery_Click" />
                    </td>   
                </tr>
            </table> 
        </fieldset>
        <div>
            查询到<asp:Label ID="Label4" runat="server" Text="0"></asp:Label>条记录。
        </div>
        <fieldset>
            <legend>查询记录显示</legend>
            <asp:GridView ID="GridView1" runat="server" EmptyDataText="没有记录！" 
                AutoGenerateColumns="false " EnableViewState="False">
                <Columns>
                    <asp:BoundField DataField="infomationId" HeaderText="客户满意度信息编号" />
                    <asp:BoundField DataField="customerClass" HeaderText="客户类别" />
                                     
                    <asp:BoundField DataField="processStatus" HeaderText="处理状态" />
                    
                    <asp:HyperLinkField HeaderText="详细信息" Text="详细信息" DataNavigateUrlFields="infomationId"
                        DataNavigateUrlFormatString="CusSatiSurDetail.aspx?id={0}" />
                    
                </Columns>
            </asp:GridView>
        </fieldset>
    </div>
</asp:Content>
